﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using CommonManage = DevelopStudio.Common.Manage;
using CommonBasic = DevelopStudio.Common.Basic;
using SNSHelper.Common;

namespace DevelopStudio.Common.Basic
{
    [Serializable]
    [XmlRoot("Root")]
    public class DSFileInfo
    {
        [XmlElement("Path")]
        public string Path { get; set; }

        [XmlElement("Revision")]
        public long Revision { get; set; }

        [XmlElement("Key")]
        public string Key { get; set; }

        public bool IsLocal()
        {
            return this.Revision == AppConst.LocalRevision;
        }
    }
}
